﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="ReportStateList.aspx.cs" Inherits="Xiaov.SmartWeb.Application.PluginSrc.StatisticalSystem.Manage.ReportStateList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript" src="/Resources/xiaovcn/scripts/usercheck.js"></script>
    <script>
        $(function () {
            //year=$('#ddl_Year').combobox('getValue');
            //month = $('#ddl_Month').combobox('getValue');
            //dwbm = $('#ddl_Owner').combobox('getValue');
            //sbr = $('#ddl_Sbr').combobox('getValue');
//            $.messager.show({ title: '提示信息', msg: '您有六张报表需要填报<br/>您有三张报表需要审核<br/>您有九张报表需要汇总', timeout: 0, showType: 'slide', height: 200, width: 300 });
            year = $("#ddl_Year").val();
            month = $("#ddl_Month").val();
            $('#tt').datagrid({
                iconCls: 'icon-applicationgo',
                url: '/PluginSrc/StatisticalSystem/Json/ReportState.aspx?year=' + year + '&month=' + month,
                title: '报表上报情况公示', rownumbers: true, height: userScreenHeight - 6, fitColumns: false, singleSelect: false, striped: true, nowrap: false,
                columns:
                [[
                        { field: 'LRBH', title: '报表编码', width: 60, formatter: function (val, rec) { return unescape(rec.LRBH); } },
                        {
                            field: 'BBMC', title: '报表名称', width: 180,
                            formatter: function (val, rec) {
                                return unescape(val);
                            }
                        },
                        { field: 'BBZQ', title: '报表周期', width: 80, formatter: function (val, rec) { return unescape(rec.BBZQ); } },
//                                       { field: 'SBSJ', title: '上报时间', width: 100, formatter: function (val, rec) { return unescape(rec.YQSBSJ); } },
//                                       { field: 'SBSJ', title: '审核时间', width: 100, formatter: function (val, rec) { return unescape(rec.YQSBSJ); } },
//                                       { field: 'SBSJ', title: '审核人', width: 100, formatter: function (val, rec) { return unescape(rec.YQSBSJ); } },
//                                       { field: 'SBSJ', title: '状态', width: 100, formatter: function (val, rec) { return unescape(rec.YQSBSJ); } }
                         { field: 'YSB', title: '已上报', width: 240, formatter: function (val, rec) { return unescape(rec.YSB); } },
                          { field: 'WSB', title: '未上报', width: 240, formatter: function (val, rec) { return unescape(rec.WSB); } }
                ]]
            });
        });

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="padding: 3px; font-size: 12px;">
        报表周期：
        <asp:DropDownList ID="ddl_Year" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_Year_SelectedIndexChanged"
            ClientIDMode="Static">
        </asp:DropDownList>
        <asp:DropDownList ID="ddl_Month" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddl_Month_SelectedIndexChanged"
            ClientIDMode="Static">
        </asp:DropDownList>
    </div>
    <div style="padding: 3px; font-size: 12px;">
        <table id="tt">
        </table>
    </div>
</asp:Content>
